<?php
declare (strict_types = 1);

namespace app\command;

use app\admin\business\message\Message;
use think\console\Command;
use think\console\Input;
use think\console\input\Argument;
use think\console\input\Option;
use think\console\Output;

class SendAddData extends Command
{
    private $obj_message_business=null;
    protected function configure()
    {
        // 指令配置
        $this->setName('SendStatisticData')
            ->setDescription('the SendStatisticData command');
    }

    protected function execute(Input $input, Output $output)
    {
        $this->obj_message_business = new Message();
        $this->obj_message_business->sendAddData();
    }
}
